package edu.ptu.acl.service;

import edu.ptu.acl.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author LinJC
 * @since 2022-03-15
 */
public interface IRoleService extends IService<Role> {

    void deleteRole(Long roleId);

    void validateName(Long parentId,Long id,String name);

    List<Role> getCurrentUserRoles();

}
